<template>
  <div id="Menu">
    <div class="new_hot">
      <router-link :to="{name:'News'}" active-class="active">最新</router-link>
      |
      <router-link class="heatA" :to="{name:'Heat'}" active-class="active">最热</router-link>
    </div>
    <div id="content">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Menu'
}
</script>

<style lang="less" scoped>
  .active{
    color: #333 !important;
    font-weight: bold;
  }
  #Menu{
    .new_hot{
      margin-bottom: 25px;
      a{
        text-decoration: none;
        font-size: 14px;
        color: #999;
        padding: 0 10px 0 0;
      }
      .heatA{
        padding-left: 10px;
      }
    }
  }
</style>
